/*
 * Copyright (c) 2007 Compl Yue Still, All Rights Reserved.
 */

package oex.tasks
{
	import hbi.domain.Gateway;
	import hbi.task.TaskAgent;
	
	import mx.controls.Alert;

	public class Feedback implements TaskAgent
	{
		public function arrived(gateway:Gateway):void
		{
			trace("Feedback arrived!");
		}
		
		public function showFeedback(msg:String, args:Array):void
		{
			Alert.show(msg, "Object Explorer");
			for each (var arg:* in args)
				trace(arg);
		}
		
		public function finishTask(gateway:Gateway):void
		{
			trace("Feedback finished!");
		}
		
	}
}
